using SqlSugar;
using System;

namespace B.S.DataBase.MyProject.Domain.ZJWWorkOrderTwo
{
    /// <summary>
    /// 门诊医生诊疗表，记录医生为患者诊疗的详细过程
    /// </summary>
    [SugarTable("OutpatientVisit")]
    public class OutpatientVisit : B.S.DataBase.MyProject.Domain.wdx.Audit
    {
        /// <summary>
        /// 主键，自增
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int VisitId { get; set; }

        /// <summary>
        /// 挂号Id（外键，关联Registration）
        /// </summary>
        public int RegistrationId { get; set; }

        /// <summary>
        /// 诊断信息
        /// </summary>
        public string Diagnosis { get; set; }

        /// <summary>
        /// 处方信息
        /// </summary>
        public string Prescription { get; set; }

        /// <summary>
        /// 医嘱
        /// </summary>
        public string MedicalAdvice { get; set; }

        /// <summary>
        /// 电子病历内容
        /// </summary>
        public string MedicalRecord { get; set; }

        /// <summary>
        /// 诊疗时间
        /// </summary>
        public DateTime VisitDate { get; set; }
    }
} 